﻿using System;

namespace diantou.web.enterprise
{
    /// <summary>
    /// 工作职位
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true)]
    partial class jobList : examPermissionView<jobList>
    {
        /// <summary>
        /// 工作职位
        /// </summary>
        [fastCSharp.emit.webView.clearMember]
        private diantou.examDataAccess.enterpriseJob[] jobs;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="page"></param>
        /// <param name="isAsc"></param>
        /// <returns></returns>
        private bool loadView(diantou.dataModel.enterpriseJob.status type, int page, diantou.examDataAccess.exam.sort sort, bool isAsc)
        {
            jobs = diantou.examDataAccess.tcpCall.enterpriseJob.get(currentUserId, type, sort, isAsc, pageInfo.Size = fastCSharp.config.pub.Default.PageSize, pageInfo.Page = page, out pageInfo.Count);
            return true;
        }
    }
}
